<template>
  <div class="about">
    <p>{{ city }}</p>
  </div>
</template>
<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";
import { Tools } from "@/model/tools.ts";
@Component
export default class About extends Tools {
  // 继承Group.ts
  city: string = "南京";
  // data属性使用
  enthus: number = this.initFun();
  private confirmModel: boolean = false;
  initFun(): number {
    // console.log("data属性直接返回方法值");
    return 12;
  }
}
</script>
<style lang="stylus" scoped></style>
